.class public Lcom/instagram/android/fragment/dh;
.super Lcom/instagram/android/fragment/d;
.source "HashtagFeedFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/fragment/d",
        "<",
        "Lcom/instagram/android/feed/a/k;",
        ">;"
    }
.end annotation


# instance fields
.field private ad:Landroid/content/BroadcastReceiver;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 31
    invoke-direct {p0}, Lcom/instagram/android/fragment/d;-><init>()V

    .line 35
    new-instance v0, Lcom/instagram/android/fragment/di;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/di;-><init>(Lcom/instagram/android/fragment/dh;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/dh;->ad:Landroid/content/BroadcastReceiver;

    .line 147
    return-void
.end method

.method private static a(Landroid/content/Context;Landroid/support/v4/app/r;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 112
    new-instance v0, Lcom/instagram/ui/a/a;

    invoke-direct {v0, p0}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/facebook/ba;->content_advisory:I

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->b(I)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0, p2}, Lcom/instagram/ui/a/a;->a(Ljava/lang/CharSequence;)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->show_posts:I

    new-instance v2, Lcom/instagram/android/fragment/dm;

    invoke-direct {v2, p3, p1, p4}, Lcom/instagram/android/fragment/dm;-><init>(Ljava/lang/String;Landroid/support/v4/app/r;Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->cancel:I

    new-instance v2, Lcom/instagram/android/fragment/dl;

    invoke-direct {v2}, Lcom/instagram/android/fragment/dl;-><init>()V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 129
    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;Landroid/support/v4/app/r;Ljava/lang/String;)V
    .locals 1
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 101
    invoke-static {p0, p1}, Lcom/instagram/android/fragment/dn;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 103
    if-nez v0, :cond_0

    .line 104
    invoke-static {p1, p2, p3}, Lcom/instagram/android/fragment/dh;->b(Ljava/lang/String;Landroid/support/v4/app/r;Ljava/lang/String;)V

    .line 108
    :goto_0
    return-void

    .line 106
    :cond_0
    invoke-static {p0, p2, v0, p1, p3}, Lcom/instagram/android/fragment/dh;->a(Landroid/content/Context;Landroid/support/v4/app/r;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method

.method static synthetic a(Ljava/lang/String;Landroid/support/v4/app/r;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 31
    invoke-static {p0, p1, p2}, Lcom/instagram/android/fragment/dh;->b(Ljava/lang/String;Landroid/support/v4/app/r;Ljava/lang/String;)V

    return-void
.end method

.method private static b(Ljava/lang/String;Landroid/support/v4/app/r;Ljava/lang/String;)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 132
    invoke-static {p1, p0}, Lcom/instagram/android/util/v;->d(Landroid/support/v4/app/r;Ljava/lang/String;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0, p2}, Lcom/instagram/e/b/a/a;->e(Ljava/lang/String;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    .line 135
    return-void
.end method


# virtual methods
.method protected synthetic Z()Lcom/instagram/android/feed/a/a;
    .locals 1

    .prologue
    .line 31
    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->ak()Lcom/instagram/android/feed/a/k;

    move-result-object v0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 86
    new-instance v0, Lcom/instagram/android/fragment/dk;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/dk;-><init>(Lcom/instagram/android/fragment/dh;)V

    return-object v0
.end method

.method protected a(Lcom/instagram/android/d/j/f;)Lcom/instagram/android/d/e/s;
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/f",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)",
            "Lcom/instagram/android/d/e/s;"
        }
    .end annotation

    .prologue
    .line 63
    new-instance v0, Lcom/instagram/android/fragment/dj;

    sget v1, Lcom/facebook/aw;->request_id_explore:I

    invoke-direct {v0, p0, p0, v1, p1}, Lcom/instagram/android/fragment/dj;-><init>(Lcom/instagram/android/fragment/dh;Lcom/instagram/android/fragment/d;ILcom/instagram/android/d/j/f;)V

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 5
    .parameter

    .prologue
    .line 44
    invoke-super {p0, p1}, Lcom/instagram/android/fragment/d;->a(Landroid/os/Bundle;)V

    .line 45
    new-instance v1, Lcom/instagram/android/model/h;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v2, "HashtagFeedFragment.ARGUMENT_TAG_NAME"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0}, Lcom/instagram/android/model/h;-><init>(Ljava/lang/String;)V

    .line 46
    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Lcom/instagram/android/model/h;->a(Landroid/content/Context;Landroid/support/v4/app/aj;)V

    .line 47
    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/feed/a/k;

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/k;->a(Ljava/lang/Object;)V

    .line 48
    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v2, p0, Lcom/instagram/android/fragment/dh;->ad:Landroid/content/BroadcastReceiver;

    new-instance v3, Landroid/content/IntentFilter;

    invoke-virtual {v1}, Lcom/instagram/android/model/h;->a()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcom/instagram/android/model/h;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v2, v3}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 51
    invoke-virtual {v1}, Lcom/instagram/android/model/h;->a()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/android/service/AutoCompleteHashtagService;->b(Ljava/lang/String;)V

    .line 52
    const/4 v0, 0x1

    new-instance v1, Lcom/instagram/android/fragment/o;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/o;-><init>(Lcom/instagram/android/fragment/d;)V

    invoke-virtual {p0, v0, v1}, Lcom/instagram/android/fragment/dh;->a(ZLcom/instagram/android/fragment/o;)V

    .line 53
    return-void
.end method

.method public a(Ljava/util/Map;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 138
    const-string v0, "src"

    const-string v1, "hashtag"

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 139
    const-string v0, "q"

    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->i()Landroid/os/Bundle;

    move-result-object v1

    const-string v2, "HashtagFeedFragment.ARGUMENT_TAG_NAME"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 140
    return-void
.end method

.method protected aa()Lcom/instagram/android/feed/a/i;
    .locals 1

    .prologue
    .line 80
    sget-object v0, Lcom/instagram/android/feed/a/i;->b:Lcom/instagram/android/feed/a/i;

    return-object v0
.end method

.method protected ak()Lcom/instagram/android/feed/a/k;
    .locals 2

    .prologue
    .line 75
    new-instance v0, Lcom/instagram/android/feed/a/k;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->aa()Lcom/instagram/android/feed/a/i;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/feed/a/k;-><init>(Lcom/instagram/android/fragment/d;Lcom/instagram/android/feed/a/i;)V

    return-object v0
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 144
    const-string v0, "feed_hashtag"

    return-object v0
.end method

.method public y()V
    .locals 2

    .prologue
    .line 57
    invoke-virtual {p0}, Lcom/instagram/android/fragment/dh;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/dh;->ad:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 58
    invoke-super {p0}, Lcom/instagram/android/fragment/d;->y()V

    .line 59
    return-void
.end method
